# Social mobilisation in partisan spaces

#Florian Foos, Peter John, Christian Mueller, and Kevin Cunningham

## Data files

- `data_raw.rds` contains the raw data we provide for the replication.


## Code files

- `0_packages.R` contains the packages we use in the recoding and analysis. 

    Run it to install required packages which are missing from the system.

- `1_recoding.R` contains code for replicating the recoding of the variables.

    Running this file will generate `data.rds`, the data file used in the analysis, from the raw replication data provided in `data_raw.rds`.

- `Analysis.R` contains the code we use for the analysis, i.e. to generate all tables and figures in the paper.

- `Appendix.R` contains the code we use for the analyses in the appendix.

- `9_graph_helpers.R` contains a set of helper functions to create the graphs we use.


## Documentation

- `Codebook.pdf` documents all variables in the raw and recoded data.

- `Data_Documentation.pdf` contains additional information on how we 
    prepared the data.


## Remarks

Please make sure that the paths are set consistently. The code will most likely
not work otherwise.
